//
//  YDOAWorkingLunchCell.swift
//  YDOAProduct
//
//  Created by 占益民 on 2017/11/18.
//  Copyright © 2017年 Allen. All rights reserved.
//

import UIKit

class YDOAWorkingLunchCell: UITableViewCell {

    @IBOutlet weak var timeLb: UILabel!
    @IBOutlet weak var goucan: UILabel!
    @IBOutlet weak var departmentLb: UILabel!
    @IBOutlet weak var nameLb: UILabel!
    
    
    var model : YDOAWorkingLunchModel!{
        didSet{
            nameLb.text = model.user
            goucan.text = model.can
            departmentLb.text = "部门: \(model.department ?? "")"
            timeLb.text = model.time
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        contentView.backgroundColor = UIColor.clear
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
